//
//  SRSettingWeightViewController.m
//  SportRing
//
//  Created by Apple on 14/10/24.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import "SRSettingWeightViewController.h"
#import "SRSettingWeightView.h"
#import "SRViewSetting.h"

@interface SRSettingWeightViewController () <SRSettingWeightViewViewDelegate>

@property (nonatomic, weak) IBOutlet SRSettingWeightView * weightView;

@end

@implementation SRSettingWeightViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self addBackButton];
}

#pragma mark - SRSettingWeightViewViewDelegate

- (void)didSelectWeight:(NSInteger)weight
{
    [SRViewSetting sharedSetting].weight = weight;
}
- (void)currentWeight:(NSInteger)weight
{
}

-(void)defaultValue:(NSInteger)value
{
    [SRViewSetting sharedSetting].weight = value;
}

#pragma mark - SRSettingProtocol

- (void)didTapNextBtn
{
    
}

-(void)didTapBackBtn
{
    [self.navigationController popViewControllerAnimated:YES];
}

@end
